package com.ly;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 *  支付订单服务
 */
@SpringBootApplication
@EnableEurekaClient   //表明这是eureka客户端
@EnableDiscoveryClient //对于注册进eureka里面的微服务，可以通过服务发现来获得该服务的信息
public class PaymentMain8001 {

    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8001.class, args);
    }
}
